package com.campus.shop.service;

import java.util.HashMap;

import com.campus.shop.common.Result;
import com.campus.shop.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xr
 * @since 2023-12-359 16:32:04
 */
public interface UserService extends IService<User> {

        Boolean insertUser(User user);

        Boolean updateUser(User user);

        Boolean deleteUser(Long id);

        User queryById(Long id);

        HashMap<String, Object> pageList(Integer currentPage);

        User userLogin(String userName, String password);

        Boolean userRegister(String telephone, String password);
}

